﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SqlShareAPI
{
    /// <summary>
    /// A simple class to represent the UserTable in the database
    /// </summary>
    public class UserQuery
    {
        public string owner { get; set; }
        public string short_desc { get; set; }
        public string long_desc { get; set; }
        public string sql_code { get; set; }
        public bool is_public { get; set; }

        public UserQuery() { }

        public UserQuery(string owner, string shortDesc, string longDesc, string sqlCode, bool isPublic)
        {
            this.owner = owner;
            short_desc = shortDesc;
            long_desc = longDesc;
            sql_code = sqlCode;
            is_public = isPublic;
        }
    }
}
